<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>前端试题(html3/4)</title>

</head>
<body>
<ul id="testUL">
  <li> index = 0</li>
  <li> index = 1</li>
  <li> index = 2</li>
  <li> index = 3</li>
</ul>
<script type="text/javascript">
  var str1 = '{ "name": "cxh", "sex": "man" }';
  var obj = JSON.parse(str1)
  console.log(obj.name)
</script>
</body>
</html>
